package com.zhida.common.mapper;

import com.zhida.common.entity.RolePermission;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.ArrayList;
import java.util.HashMap;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author ling
 * @since 2024-07-21
 */
@Mapper
public interface RolePermissionMapper extends BaseMapper<RolePermission> {

    Integer getMethodLevel(String method);

    ArrayList<HashMap<String,String>> getMethodsLevel();
}
